package com.spring.demo10.eg3;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author vhans
 */
@Component
public class MailService {
    @Autowired
    private MailConfig1 mailConfig1;

    @Override
    public String toString() {
        return "MailService{" +
                "mailConfig=" + mailConfig1 +
                '}';
    }
}
